import { Component, OnInit } from '@angular/core';

@Component({
  selector: 'app-navbar',
  templateUrl: './navbar.component.html',
  styleUrls: ['./navbar.component.css'],
  template: `
     <ul nz-menu [nzMode]="'horizontal'">
      <li nz-menu-item><a href="/index"><i class="anticon anticon-mail"></i>主页</a></li>
      <li nz-menu-item><a href="/my-note"><i class="anticon anticon-appstore"></i>我的笔记</a></li>
      <li nz-menu-item><a href="/add-note"><i class="anticon anticon-appstore"></i>新建笔记</a></li>
      <li nz-menu-item class="rightBtn"><a href="/login">登录</a></li>
    </ul>
  `
})
export class NavbarComponent implements OnInit {

  constructor() { }

  ngOnInit() {
  }

}
